/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.woodws.fresh.hf.api.dto

import io.swagger.annotations.*

import java.time.LocalDateTime
import java.io.Serializable

/**
 * 用户设计表Dto
 * @author maoxiongdong
*/
@ApiModel(value = "用户设计表")
data class HfUserDesignDto(@ApiModelProperty(value = "序列号") var designId: Long? = null): Serializable{

    /**
    * 用户id
    */
    @ApiModelProperty(value = "用户id")
    var userId: Long? = null

    /**
    * 主题id
    */
    @ApiModelProperty(value = "主题id")
    var themeId: Long? = null

    /**
    * 设计标题
    */
    @ApiModelProperty(value = "设计标题")
    var designTitle: String? = null

    /**
    * 设计详情
    */
    @ApiModelProperty(value = "设计详情")
    var designInfo: String? = null

    /**
    * 转发设计id
    */
    @ApiModelProperty(value = "转发设计id")
    var forwardDesignId: Long? = null

    /**
    * 状态
    */
    @ApiModelProperty(value = "状态")
    var state: String? = null

    /**
    * 类型
    */
    @ApiModelProperty(value = "类型")
    var type: String? = null

    /**
    * 多租户
    */
    @ApiModelProperty(value = "多租户")
    var tenantId: Long? = null

    /**
    * 删除标识，0正常，1删除
    */
    @ApiModelProperty(value = "删除标识，0正常，1删除")
    var delFlag: Int? = null

    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    var createdDate: LocalDateTime? = null

    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    var createdBy: Long? = null

    /**
    * 最后更新时间
    */
    @ApiModelProperty(value = "最后更新时间")
    var updateDate: LocalDateTime? = null

    /**
    * 最后更新人
    */
    @ApiModelProperty(value = "最后更新人")
    var updateBy: Long? = null
}